﻿<ribbon:RibbonWindow x:Class="CECB.RibbonWindow1"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
        Title="CECB- Home" 
        x:Name="Window"
        Width="640" Height="480"
        WindowStartupLocation="CenterScreen" WindowState="Maximized" Icon="/Images/cecb1.ico"  >
    <ribbon:RibbonWindow.Background>
        <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop Color="#FF144BC7" Offset="0" />
            <GradientStop Color="#FFB2FCFC" Offset="1" />
        </LinearGradientBrush>
    </ribbon:RibbonWindow.Background>
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        
        
        
         <ribbon:Ribbon x:Name="Ribbon" Height="150"> 

            <ribbon:Ribbon.ApplicationMenu>
                <ribbon:RibbonApplicationMenu SmallImageSource="images\Exit.png" Width="50" >
                    <ribbon:RibbonApplicationMenuItem Header="E_xit"
                                                      x:Name="MenuItemExit"
                                                      ImageSource="images\ss.png" Click="ApplicationMenuItemClick"  >
                    </ribbon:RibbonApplicationMenuItem>
                    <ribbon:RibbonApplicationMenuItem Header="Log_Off"
                                                      x:Name="MenuItemLogoff"
                                                      ImageSource="images\logoff.png" Click="MenuItemLogoff_Click" >
                    </ribbon:RibbonApplicationMenuItem>
                </ribbon:RibbonApplicationMenu>
            </ribbon:Ribbon.ApplicationMenu>
            <ribbon:RibbonTab x:Name="HomeTab" 
                              Header="Home"
                              Background="Black" Height="90">
                <ribbon:RibbonGroup x:Name="Group1" 
                                    Header="Member" Background="LightBlue" Height="Auto" FontStretch="Normal" Foreground="Black" FontSize="12" BorderBrush="White" FontStyle="Italic" FontWeight="ExtraBold">
                    <ribbon:RibbonButton Content="Button"  Height="50" HorizontalAlignment="Left" Margin="0,0,0,0" Name="ribbonButton1" VerticalAlignment="Top" Width="100" FocusedBackground="#FFADADAD" FocusedBorderBrush="#FF1550CB" LargeImageSource="/CECB;component/images/memberIcon.png" MouseOverBorderBrush="White" Click="ribbonButton1_Click">
                        <ribbon:RibbonButton.PressedBackground>
                            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                <GradientStop Color="#FF43ADAD" Offset="0" />
                                <GradientStop Color="#FFE8E8E8" Offset="1" />
                            </LinearGradientBrush>
                        </ribbon:RibbonButton.PressedBackground>
                        <ribbon:RibbonButton.MouseOverBackground>
                            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                <GradientStop Color="#FF06DEDE" Offset="0" />
                                <GradientStop Color="#FFB6F5F5" Offset="1" />
                            </LinearGradientBrush>
                        </ribbon:RibbonButton.MouseOverBackground>
                    </ribbon:RibbonButton>
                </ribbon:RibbonGroup>

                <ribbon:RibbonGroup x:Name="Group2" 
                                    Header="Email" Background="LightBlue" Height="Auto" Foreground="Black" FontSize="12" FontStyle="Italic" FontWeight="ExtraBold">
                    <ribbon:RibbonButton Content="Button" Height="60" HorizontalAlignment="Left" Margin="0,0,0,0" Name="ribbonButton2" VerticalAlignment="Top" Width="100" FocusedBackground="#FFADADAD" FocusedBorderBrush="#FF1550CB" LargeImageSource="/CECB;component/images/emailIcon.png" MouseOverBorderBrush="White" Click="ribbonButton2_Click">
                        <ribbon:RibbonButton.PressedBackground>
                            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                <GradientStop Color="#FF43ADAD" Offset="0" />
                                <GradientStop Color="#FFE8E8E8" Offset="1" />
                            </LinearGradientBrush>
                        </ribbon:RibbonButton.PressedBackground>
                        <ribbon:RibbonButton.MouseOverBackground>
                            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                <GradientStop Color="#FF06DEDE" Offset="0" />
                                <GradientStop Color="#FFB6F5F5" Offset="1" />
                            </LinearGradientBrush>
                        </ribbon:RibbonButton.MouseOverBackground>
                    </ribbon:RibbonButton>
                </ribbon:RibbonGroup>

                <ribbon:RibbonGroup x:Name="Group3" 
                                    Header="Project" Background="LightBlue" Height="Auto" Foreground="Black" FontSize="12" FontStyle="Italic" FontWeight="ExtraBold">
                    <ribbon:RibbonButton Content="Button" Height="60" HorizontalAlignment="Left" Margin="0,0,0,0" Name="ribbonButton3" VerticalAlignment="Top" Width="100" FocusedBackground="#FFADADAD" FocusedBorderBrush="#FF1550CB" LargeImageSource="/CECB;component/images/ProjectIcon.png" MouseOverBorderBrush="White" Click="ribbonButton3_Click">
                        <ribbon:RibbonButton.PressedBackground>
                            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                <GradientStop Color="#FF43ADAD" Offset="0" />
                                <GradientStop Color="#FFE8E8E8" Offset="1" />
                            </LinearGradientBrush>
                        </ribbon:RibbonButton.PressedBackground>
                        <ribbon:RibbonButton.MouseOverBackground>
                            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                <GradientStop Color="#FF06DEDE" Offset="0" />
                                <GradientStop Color="#FFB6F5F5" Offset="1" />
                            </LinearGradientBrush>
                        </ribbon:RibbonButton.MouseOverBackground>
                    </ribbon:RibbonButton>
                </ribbon:RibbonGroup>

                <ribbon:RibbonGroup x:Name="Group4" 
                                    Header="Project Team" Background="LightBlue" Height="Auto" Foreground="Black" FontSize="12" FontStyle="Italic" FontWeight="ExtraBold">
                    <ribbon:RibbonButton Content="Button" Height="60" HorizontalAlignment="Left" Margin="0,0,0,0" Name="ribbonButton4" VerticalAlignment="Top" Width="100" FocusedBackground="#FFADADAD" FocusedBorderBrush="#FF1550CB" LargeImageSource="/CECB;component/images/projects_icon1.png" MouseOverBorderBrush="White" Click="ribbonButton4_Click">
                        <ribbon:RibbonButton.PressedBackground>
                            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                <GradientStop Color="#FF43ADAD" Offset="0" />
                                <GradientStop Color="#FFE8E8E8" Offset="1" />
                            </LinearGradientBrush>
                        </ribbon:RibbonButton.PressedBackground>
                        <ribbon:RibbonButton.MouseOverBackground>
                            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                <GradientStop Color="#FF06DEDE" Offset="0" />
                                <GradientStop Color="#FFB6F5F5" Offset="1" />
                            </LinearGradientBrush>
                        </ribbon:RibbonButton.MouseOverBackground>
                    </ribbon:RibbonButton>
                </ribbon:RibbonGroup>

                <ribbon:RibbonGroup x:Name="Group5" 
                                    Header="Project Activity" Background="LightBlue" Height="Auto" Foreground="Black" FontSize="12" FontStyle="Italic" FontWeight="ExtraBold">
                    <ribbon:RibbonButton Content="Button" Height="60" HorizontalAlignment="Left" Margin="0,0,0,0" Name="ribbonButton5" VerticalAlignment="Top" Width="100" FocusedBackground="#FFADADAD" FocusedBorderBrush="#FF1550CB" LargeImageSource="/CECB;component/images/activityicon.png" MouseOverBorderBrush="White" Click="ribbonButton5_Click">
                        <ribbon:RibbonButton.PressedBackground>
                            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                <GradientStop Color="#FF43ADAD" Offset="0" />
                                <GradientStop Color="#FFE8E8E8" Offset="1" />
                            </LinearGradientBrush>
                        </ribbon:RibbonButton.PressedBackground>
                        <ribbon:RibbonButton.MouseOverBackground>
                            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                <GradientStop Color="#FF06DEDE" Offset="0" />
                                <GradientStop Color="#FFB6F5F5" Offset="1" />
                            </LinearGradientBrush>
                        </ribbon:RibbonButton.MouseOverBackground>
                    </ribbon:RibbonButton>
                </ribbon:RibbonGroup>

            </ribbon:RibbonTab>
        </ribbon:Ribbon>
        </Grid>
</ribbon:RibbonWindow>
